package cn.com.dealme;

public class DealMeRuntimeException extends RuntimeException {

	private static final long serialVersionUID = 1L;
	
	private String key;
	
	public DealMeRuntimeException() {
		super();
	}

	public DealMeRuntimeException(String message, Throwable cause) {
		super(message, cause);
	}

	public DealMeRuntimeException(String message) {
		super(message);
	}

	public DealMeRuntimeException(Throwable cause) {
		super(cause);
	}
	
	public DealMeRuntimeException(String key, String message) {
		this(message);
		this.key = key;
	}
	
	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	
}
